package com.ld.doamin;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * (TPermission)实体类
 *
 * @author makejava
 * @since 2022-12-13 15:44:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission implements Serializable {
    
    
    private Long id;
    
    private String name;
    
    private String url;
    
    private String descs;
    
    private String sn;
    /**
     * 父级权限的id
     */
    private Long parentId;
    private Permission parent;

    private List<Permission> children;

}

